/*
 * @Author: 非幡动 438484791@qq.com
 * @Date: 2024-06-27 09:13:39
 * @LastEditors: 非幡动 438484791@qq.com
 * @LastEditTime: 2024-06-27 09:24:29
 * @FilePath: \dicomReaderReact\vite.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import legacy from '@vitejs/plugin-legacy'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react(),
    legacy({
      targets: ['defaults', 'not IE 11']
    })
  ],
  optimizeDeps: {
    include: ['cornerstone-tools']
  }
})
